﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_DIC_RATEData : MarshalByRefObject, IDIC_RATEData
    {
        DIC_RATEData DIC_RATE = new DIC_RATEData();

        public int DIC_RATE_Delete(string RateCode)
        {
            return DIC_RATE.DIC_RATE_Delete(RateCode);
        }
        public int DIC_RATE_Disable(string RateCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet DIC_RATE_Get(string RateCode)
        {
            return DIC_RATE.DIC_RATE_Get(RateCode);
        }
        public System.Data.DataSet DIC_RATE_GetList()
        {
            return DIC_RATE.DIC_RATE_GetList();
        }
        public int DIC_RATE_Insert(string RateCode, string GroupRateCode, string RateName, double Coefficient, string Description, bool Active)
        {
            return DIC_RATE.DIC_RATE_Insert(RateCode,GroupRateCode,RateName,Coefficient,Description,Active);
        }
        public int DIC_RATE_Save(string RateCode, string GroupRateCode, string RateName, double Coefficient, string Description, bool Active)
        {
            return DIC_RATE.DIC_RATE_Save(RateCode, GroupRateCode, RateName, Coefficient, Description, Active);
        }
        public int DIC_RATE_Update(string RateCode, string GroupRateCode, string RateName, double Coefficient, string Description, bool Active)
        {
            return DIC_RATE.DIC_RATE_Update(RateCode, GroupRateCode, RateName, Coefficient, Description, Active);
        }
    }
}
